﻿using System;
using System.IO;

namespace Narwhunderful.Aphelia.Framework.IO.Serialization.Binary
{

    public interface IBinaryReader
    {

        byte ReadElementId();
        Type ReadType();
        int ReadNumber();
        int[] ReadNumbers();
        string ReadName();
        object ReadValue(Type expectedType);
        void Open(Stream stream);
        void Close();

    }

}
